package fun.xinnix;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan("fun.xinnix.mapper")
@EnableTransactionManagement
@SpringBootApplication
public class MybatisPlusApplication {

    public static void main(String[] args) {
        // aaaaa
        // ddd
        // qqq
        SpringApplication.run(MybatisPlusApplication.class, args);
//        try {
//            new NettyServer(3001).start();
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
    }

}
